/**
 * Copyright 2009 by Christian Scheid. This file is part of the switch eclipse plugin and is licensed under the
 * GPL version 3. Please refer to the URL http://www.gnu.org/licenses/gpl-3.0.html for details.
 */
package org.digitalsoul.switchplugin.model;

import java.util.ArrayList;
import java.util.List;


public class Configuration {

    private final String version = "1.0";
    private SwitchSet activeSet;
    private List<SwitchSet> sets;
    
    public Configuration() {
        this.sets = new ArrayList<SwitchSet>();
    }
    
    public void setActiveSet(SwitchSet set) {
        this.activeSet = set;
    }
    
    public SwitchSet getActiveSet() {
        return activeSet;
    }
    
    public List<SwitchSet> getSets() {
        return sets;
    }

    public boolean hasSets() {
        return sets.size() > 0;
    }
}
